package com.tn.openrpc.util;

import java.util.UUID;

/**
 * An implementation <code>Factory</code> that creates <code>UUID</code>s.
 */
public class UuidFactory implements Factory<String>
{

  /**
   * {@inheritDoc}
   */
  @Override
  public String newInstance() throws FactoryException
  {

    return UUID.randomUUID().toString();
  }
}
